character after which to terminate the receive, or empty if any characters up to the time-out are to be read.
number of ticks (1/60ths of a second) to wait, or zero.
string of previously received characters.
-- part contents for background part 4
----- text -----
This is the principle, and most powerfull receive character function. It inputs character until a particular character is received or until a time-out occurs. It will echo and edit input if those features have been enabled with the configureSPort command. If editing is enabled, backspacing is allowed not only on new input, but also on previous input, which should be passed to the function in the oldString paramter. recvUpTo returns both the old string and any new input.